<?php


namespace App\Model\Repository;


use App\Model\Base\ApiRequestPreset;

/**
 * Class ApiRequestPresetRepository
 * @package App\Model\Repository
 */
class ApiRequestPresetRepository extends ApiRequestPreset
{
    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function project()
    {
        return $this->belongsTo(ApiProjectRepository::class, 'project_id', 'project_id');
    }
}